GetInsertCommand(String[],Boolean) Method
Gets the automatically generated SQL statement required to perform inserts on the data source when an application calls
System.Data.Common.DbDataAdapter.Update() on the
MySqlDataAdapter.
Parameters
- fields
- Defines list of columns that are allowed to update.
- useColumnsForParameterNames
- Determines whether names of parameters in command text will be based on columns' names.
Return Value
The text of the SQL statement to be executed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2